[INFO] cloning repository https://github.com/stigkj/rustful-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stigkj/rustful-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1bb2401c4dcf7c534851f51cb0a3ff283682327
[INFO] checking stigkj/rustful-example against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/stigkj/rustful-example on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/stigkj/rustful-example
[INFO] finished tweaking git repo https://github.com/stigkj/rustful-example
[INFO] tweaked toml for git repo https://github.com/stigkj/rustful-example written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/stigkj/rustful-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/src/main.rs
[INFO] [stderr]     Updating git repository `https://github.com/Ogeon/rustful`
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/Ogeon/rustful`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/src/main.rs
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multipart v0.14.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 781823994b2e3d22b76adb9e48906d904171552596f77928f78604b62dc550e1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "781823994b2e3d22b76adb9e48906d904171552596f77928f78604b62dc550e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "781823994b2e3d22b76adb9e48906d904171552596f77928f78604b62dc550e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "781823994b2e3d22b76adb9e48906d904171552596f77928f78604b62dc550e1", kill_on_drop: false }`
[INFO] [stdout] 781823994b2e3d22b76adb9e48906d904171552596f77928f78604b62dc550e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30523b2b962b03372acb518db75e2c0477fecc4571ae30bce94d2680333eb4a8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "30523b2b962b03372acb518db75e2c0477fecc4571ae30bce94d2680333eb4a8", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking anymap v0.12.1
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking buf_redux v0.6.3
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling rustful v0.9.0 (https://github.com/Ogeon/rustful#24173f35)
[INFO] [stderr]     Checking multipart v0.14.2
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking test v0.1.0-pre (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rustful::TreeRouter`
[INFO] [stdout]  --> src/main.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustful::{Server, Context, Response, TreeRouter, Handler};
[INFO] [stdout]   |                                          ^^^^^^^^^^ no `TreeRouter` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `insert_routes` in this scope
[INFO] [stdout]   --> src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let router = insert_routes!{
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `Cache` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     type Cache = ();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_request` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     fn handle_request(&self, context: Context, response: Response) {
[INFO] [stdout] 32 | |         self.0(context, response);
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustful::Method::Get`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rustful::Method::Get;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rustful::TreeRouter`
[INFO] [stdout]  --> src/main.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustful::{Server, Context, Response, TreeRouter, Handler};
[INFO] [stdout]   |                                          ^^^^^^^^^^ no `TreeRouter` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `insert_routes` in this scope
[INFO] [stdout]   --> src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let router = insert_routes!{
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `Cache` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     type Cache = ();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_request` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     fn handle_request(&self, context: Context, response: Response) {
[INFO] [stdout] 32 | |         self.0(context, response);
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustful::Method::Get`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rustful::Method::Get;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `handle`
[INFO] [stdout]   --> src/main.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Handler for HandlerFn {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn handle(&self, _: rustful::Context<'_, '_, '_, '_>, _: Response<'_, '_>) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `handle`
[INFO] [stdout]   --> src/main.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Handler for HandlerFn {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn handle(&self, _: rustful::Context<'_, '_, '_, '_>, _: Response<'_, '_>) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_writer` found for struct `Response<'_, '_>` in the current scope
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if let Err(e) = response.into_writer().send(format!("Hello, {}!", person))  {
[INFO] [stdout]    |                              ^^^^^^^^^^^ method not found in `Response<'_, '_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `log` on type `rustful::Context<'_, '_, '_, '_>`
[INFO] [stdout]   --> src/main.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |         context.log.note(&format!("could not send hello: {}", e.description()));
[INFO] [stdout]    |                 ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `headers`, `http_version`, `address`, `method`, `uri_path` ... and 6 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                         ^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `port` found for struct `rustful::Server<_>` in the current scope
[INFO] [stdout]   --> src/main.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                                       ^^^^ method not found in `rustful::Server<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0407, E0432, E0437, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_writer` found for struct `Response<'_, '_>` in the current scope
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if let Err(e) = response.into_writer().send(format!("Hello, {}!", person))  {
[INFO] [stdout]    |                              ^^^^^^^^^^^ method not found in `Response<'_, '_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `log` on type `rustful::Context<'_, '_, '_, '_>`
[INFO] [stdout]   --> src/main.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |         context.log.note(&format!("could not send hello: {}", e.description()));
[INFO] [stdout]    |                 ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `headers`, `http_version`, `address`, `method`, `uri_path` ... and 6 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                         ^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test`.
[INFO] [stdout] error[E0599]: no method named `port` found for struct `rustful::Server<_>` in the current scope
[INFO] [stdout]   --> src/main.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                                       ^^^^ method not found in `rustful::Server<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0407, E0432, E0437, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "30523b2b962b03372acb518db75e2c0477fecc4571ae30bce94d2680333eb4a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30523b2b962b03372acb518db75e2c0477fecc4571ae30bce94d2680333eb4a8", kill_on_drop: false }`
[INFO] [stdout] 30523b2b962b03372acb518db75e2c0477fecc4571ae30bce94d2680333eb4a8
